﻿using System.ComponentModel.DataAnnotations;

namespace LostOrFind.Models;

public class User
{
    [Key]
    public int Id { get; set; }
    
    [Required]
    public string? Name { get; set; }

    // [Required]
    // public int UserKeyId
    // {
    //     get;
    //     set;
    // }
    
    [Required]
    public string? Password
    {
        get;
        set;
    }
    
    public string? Email { get; set; }
    
    // 其他属性...
}